projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d86fe
)
Fix bug in `tumme-get-comment'.
author
Mathias Dahl
<mathias.dahl@gmail.com>
Sun, 16 Jul 2006 08:09:39 +0000
(08:09 +0000)
committer
Mathias Dahl
<mathias.dahl@gmail.com>
Sun, 16 Jul 2006 08:09:39 +0000
(08:09 +0000)
lisp/tumme.el
patch
|
blob
|
history
diff --git
a/lisp/tumme.el
b/lisp/tumme.el
index 26d48e77b2fd9d52d38e92f4e2c1310fbfe339e5..b45052bf09e9d08317e4c037fdf33f150124ce3e 100644
(file)
--- a/
lisp/tumme.el
+++ b/
lisp/tumme.el
@@
-2085,11
+2085,11
@@
as initial value."
(defun tumme-get-comment (file)
"Get comment for file FILE."
(save-excursion
- (let (end buf comment-beg comment
(base-name (file-name-nondirectory file))
)
+ (let (end buf comment-beg comment)
(setq buf (find-file tumme-db-file))
(goto-char (point-min))
(when (search-forward-regexp
- (format "^%s"
base-nam
e) nil t)
+ (format "^%s"
fil
e) nil t)
(end-of-line)
(setq end (point))
(beginning-of-line)